package com.ruoyi.supplier.domain.vo;

import java.util.Date;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.excel.annotation.ExcelDictFormat;
import com.ruoyi.common.excel.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;



/**
 * 采购单视图对象
 *
 * @author ruoyi
 * @date 2023-09-18
 */
@Data
@ExcelIgnoreUnannotated
public class PurchaseVo {

    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    @ExcelProperty(value = "")
    private Integer purchaseId;

    /**
     * 供货商 商户ID
     */
    @ExcelProperty(value = "供货商 商户ID")
    private Long merchantId;

    /**
     * 供货商id
     */
    @ExcelProperty(value = "供货商id")
    private Integer supplierId;

    /**
     * 状态（10待审核 20待拣货 30待取货 40已完成）
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "1=0待审核,2=0待拣货,3=0待取货,4=0已完成")
    private Integer status;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String other;

    /**
     * 检测状态
     */
    @ExcelProperty(value = "检测状态")
    private Integer checkStatus;

    /**
     * 完成时间
     */
    @ExcelProperty(value = "完成时间")
    private Date finishedAt;

    /**
     * 审核状态
     */
    @ExcelProperty(value = "审核状态")
    private Integer reviewStatus;

    /**
     * 店铺id
     */
    @ExcelProperty(value = "店铺id")
    private Integer shopId;

    /**
     * 创建用户
     */
    @ExcelProperty(value = "创建用户")
    private Integer userId;


}
